package com.sz.springboot_jpa.repository;

import com.sz.springboot_jpa.entity.User;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * 用户类
 */
public interface UserRepository extends CrudRepository<User,Long> {

    User findByUsername(String username);

}
